package view;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.Timer;


public class LoggerDynamicAction implements ActionListener 
{
	public static Timer timer = null;
	
	public LoggerDynamicAction()
	{
		timer = new Timer(1000, this);
		timer.start();
	}

	public static void stop()
	{
		timer.stop();
	}
	
	public void actionPerformed(ActionEvent event)
	{
		System.out.println("Here");		
		LoggerTable.currentLoggerTable.build();
		LoggerGlobalTable.currentLoggerGlobalTable.build();
	}
}
